package service

import (
	"context"

	pb "go-mall/api/goodsserver/v1"
)

type GoodsService struct {
	pb.UnimplementedGoodsServer
}

func NewGoodsService() *GoodsService {
	return &GoodsService{}
}

func (s *GoodsService) ListGoods(ctx context.Context, req *pb.ListGoodsRequest) (*pb.ListGoodsReply, error) {
	return &pb.ListGoodsReply{}, nil
}
func (s *GoodsService) GoodsInfo(ctx context.Context, req *pb.GoodsInfoRequest) (*pb.GoodsInfoReply, error) {
	return &pb.GoodsInfoReply{}, nil
}
